3.30 \(\int \frac {\sin (a)}{x} \, dx\)

Optimal. Leaf size=5 \[ \sin (a) \log (x) \]

[Out]

ln(x)*sin(a)

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 5, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {12, 29} \[ \sin (a) \log (x) \]

Antiderivative was successfully verified.

[In]

Int[Sin[a]/x,x]

[Out]

Log[x]*Sin[a]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rubi steps

\begin {align*} \int \frac {\sin (a)}{x} \, dx &=\sin (a) \int \frac {1}{x} \, dx\\ &=\log (x) \sin (a)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 5, normalized size = 1.00 \[ \sin (a) \log (x) \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[a]/x,x]

[Out]

Log[x]*Sin[a]

________________________________________________________________________________________

fricas [A]  time = 0.40, size = 5, normalized size = 1.00 \[ \log \relax (x) \sin \relax (a) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)/x,x, algorithm="fricas")

[Out]

log(x)*sin(a)

________________________________________________________________________________________

giac [A]  time = 0.26, size = 6, normalized size = 1.20 \[ \log \left ({\left | x \right |}\right ) \sin \relax (a) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)/x,x, algorithm="giac")

[Out]

log(abs(x))*sin(a)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 6, normalized size = 1.20 \[ \ln \relax (x ) \sin \relax (a ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(a)/x,x)

[Out]

ln(x)*sin(a)

________________________________________________________________________________________

maxima [A]  time = 0.31, size = 5, normalized size = 1.00 \[ \log \relax (x) \sin \relax (a) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)/x,x, algorithm="maxima")

[Out]

log(x)*sin(a)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 5, normalized size = 1.00 \[ \sin \relax (a)\,\ln \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(a)/x,x)

[Out]

sin(a)*log(x)

________________________________________________________________________________________

sympy [A]  time = 0.05, size = 5, normalized size = 1.00 \[ \log {\relax (x )} \sin {\relax (a )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(a)/x,x)

[Out]

log(x)*sin(a)

________________________________________________________________________________________